package edu.sdbi.judge.mapper;

import edu.sdbi.judge.domain.entity.News;
import edu.sdbi.judge.domain.entity.NewsType;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NewsTypeMapper {
    List<NewsType> selectAll();

    void insert(NewsType newsType);

    void delete();

    News getNewsTypeById(String number);
}
